Ollyo\PaymentHub\Payments\Paypal\Paypal C

Total Complexity 118
Dependencies 13
Dependents 0
Total lines 1,141
Lines of code 576
Logical lines of code 274
Comment lines 338
Methods 35
Properties 6

Methods 35

Method Rating Maintainability Complexity Lines of code
verifyAndCreateOrderData()
A
48 12 31
prepareData()
A
49 8 30
handleErrorResponse()
S
55 7 20
processIssues()
S
56 6 19
getPaymentSourceForRecurring()
S
48 5 33
getItems()
S
48 5 33
setReturnData()
S
49 5 28
createWebhook()
S
53 5 20
createNewWebhook()
S
51 4 25
createRefund()
S
47 3 36
getAccessToken()
S
55 4 18
checkWebhookVariables()
S
68 5 7
createPayment()
S
59 4 14
createRecurringPayment()
S
51 3 26
verifySignature()
S
51 3 24
createAmountData()
S
54 3 21
capturePayment()
S
54 3 19
processRefund()
S
55 3 18
setData()
S
62 3 12
prepareDataForRefund()
S
57 2 16
getPaymentSourceForOneTime()
S
58 2 16
checkQueryParams()
S
78 3 3
getVaultDetails()
S
59 2 14
isOrderCompleted()
S
79 2 3
check()
S
67 2 7
isOrderApproved()
S
79 2 3
processApprovedOrder()
S
69 2 6
getUrl()
S
70 2 6
getShippingInfo()
S
59 1 15
sendHttpRequest()
S
65 2 9
createOrder()
S
61 1 12
verifyPaymentAuthentication()
S
63 1 10
createAmountForRecurring()
S
70 1 6
setup()
S
71 1 6
getRefundStatus()
S
63 1 10